package usbcali.edu.dataaccess.dao;

import usbcali.edu.persistencia.ProSerOfrecen;
import usbcali.edu.persistencia.ProSerOfrecenId;

import java.math.BigDecimal;

import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * Interface for ProSerOfrecenDAO.
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface IProSerOfrecenDAO {
    public void save(ProSerOfrecen instance);

    public void delete(ProSerOfrecen instance);

    public void update(ProSerOfrecen instance);

    public ProSerOfrecen findById(ProSerOfrecenId id);

    public List<ProSerOfrecen> findByExample(ProSerOfrecen instance);

    public List<ProSerOfrecen> findByProperty(String propertyName, Object value);

    public List<ProSerOfrecen> findAll();

    public List<ProSerOfrecen> findByCriteria(String whereCondition);

    public List<ProSerOfrecen> findPageProSerOfrecen(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults);

    public Long findTotalNumberProSerOfrecen();

    public List<ProSerOfrecen> findById(Object id);
}
